<?php

namespace common\models\discount;

use Yii;

/**
 * This is the model class for table "full_cut_set".
 *
 * @property integer $full_cut_set_id
 * @property integer $full_cut_id
 * @property double $total_amount
 * @property double $discount_amount
 */
class FullCutSet extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'd_promotion.full_cut_set';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['total_amount', 'discount_amount','full_cut_id'], 'number'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'full_cut_set_id' => 'ID',
            'full_cut_id'=>'活动表id',
            'total_amount' => '订单消费金额',
            'discount_amount' => '优惠金额',
        ];
    }
}
